//
//  NFindDetailTopCell.m
//  News
//
//  Created by zhangtao on 2018/11/4.
//  Copyright © 2018年 zt.td. All rights reserved.
//

#import "NFindDetailTopCell.h"

@implementation NFindDetailTopCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}
- (IBAction)focusBtn:(UIButton *)sender {
    self.foceOrCancelBtn(sender);
}

-(void)setArticle:(NArticleModel *)article{
    [_imgV sd_setImageWithURL:[NSURL URLWithString:article.CoverPic] placeholderImage:default_max_img];
    _themName.text = article.TopicalName;
    _author.text = article.AuthorNickName;
    _time.text = article.IssueDate;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
